.\"
.\" IceCoder's ICTools mime configurator
.\" Licensed under GPL3
.\"
.\"

.TH ic_mime 1 "August 2011" "IC Tools" "IC Tools Manual"

.SH NAME
ic_mime - manages the mimetypes of the system.
.SH SYNOPSIS
.SY ic_mime
.B add
.RI { MIME\ TYPE }
.RI { VENDOR }
.RI { DESCRIPTION }
.RI { PATTERN1
.RI [ PATTERN2 
.RI [ ... ]]}
.YS
.SY ic_mime
.B list
.YS
.SY ic_mime
.B seticon
.RI { MIME\ TYPE }
.RI { ICON\ PATH }
.RI { ICON\ WIDTH }
.YS
.SY ic_mime
.B set
.RI { MIME\ TYPE }
.RI { APPLICATION }
.YS

.SH DESCRIPTION
.BR ic_mime (1)
adds, removes and lists the mimetypes of your user account.

.SH OPTIONS
.SS Commands
.SY ic_mime
.B add
.RI { MIME\ TYPE }
.RI { VENDOR }
.RI { DESCRIPTION }
.RI { PATTERN1
.RI [ PATTERN2 
.RI [ ... ]]}
.YS
.RS 4
.RI "Adds the chosen " MIME\ TYPE " released by " VENDOR " to the database, assaigning it a " DESCRIPTION\  and\  PATTERN (s).
.RE
.P
.SY ic_mime
.B list
.YS
.RS 4
Shows a list of all the applications that can be linked to mimetypes.
.RE
.P
.SY ic_mime
.B seticon
.RI { MIME\ TYPE }
.RI { ICON\ PATH }
.RI { ICON\ WIDTH }
.YS
.RS 4
Sets the icon for a mime-type. The icon must be square-shaped and it's side a power of 2.
.RE
.P
.SY ic_mime
.B set
.RI { MIME\ TYPE }
.RI { APPLICATION }
.YS
.RS 4
.RI "Sets the " APPLICATION " that will be used as default for opening " MIME\ TYPE .
.RE

.SS Arguments
.I MIME TYPE
.RS 4
.RI "The " MIME\ TYPE " you want to select as your target for the operation."
.RE
.P
.I VENDOR
.RS 4
.RI "The " VENDOR " which released the mimetype you want to work on."
.RE
.P
.I DESCRIPTION
.RS 4
.RI "The " DESCRIPTION " of the mimetype."
.RE
.P
.I PATTERN(s)
.RS 4
The file extensions that will be bound to the mimetype.
.RE
.P
.I ICON PATH
.RS 4
.RI "The path of the icon of the mimetype."
.RE
.P
.I ICON WIDTH
.RS 4
.RI "The width of the icon you want to set (must be square-shaped with the side a multiple of 2)."
.RE
.P
.I APPLICATION
.RS 4
.RI "The " APPLICATION " you want to bind to the mimetype."
.RB "Must be one of those shown with the " list " command."
.RE
.P

.SH NOTES
If you need to use more than a word per parameter, you can just put sentences between double quotes.
.SS Example
.SY ic_mime
.I add
image/jpeg none "JPEG image" *.jpg *.jpeg *.jpe
.YS
.RS 3
Will add the mime-type 'image/jpeg' with no vendor, 'JPEG Image' as description and 3 file patterns.
.RE

.SH FILES
.SS ~/.icetoolsrc
Contains the configuration variables for the ICTools collection.

.SH SEE ALSO
.BR ic_setup (1),
.BR ic_trash (1),
.BR ic_template (1)

.SH HISTORY
2011 - Originally written by
.MT chimeranet89@\:gmail.com
Alfredo 'IceCoder' Mungo
.ME .

.SH AUTHOR
.MT chimeranet89@\:gmail.com
Alfredo 'IceCoder' Mungo
.ME